<template>
	<view class="indexBanner">
		<swiper indicator-dots circular indicator-color="rgba(255,255,255,0.5)" indicator-active-color="#fff" autoplay
			interval=2000>
			<swiper-item v-for="item in 5">
				<image src="../../common/images/banner1.jpg" mode="aspectFill"></image>
			</swiper-item>
		</swiper>
	</view>
</template>

<script setup>

</script>

<style lang="scss" scoped>
	.indexBanner {
		width: 750rpx;
		padding: 30rpx 0; // 上下间隔30，左右贴边

		swiper {
			width: 750rpx;
			height: 340rpx;

			swiper-item {
				width: 100%;
				height: 100%;
				padding: 0 30rpx;

				image {
					width: 100%;
					height: 100%;
					border-radius: 10rpx;
				}
			}
		}
	}
</style>